		<div class="navbar">
			<div class="navbar-inner">
				<div class="container" style="width: auto;">
					<div class="container">
						<ul class="nav pull-left">
							<li class="active">
								<a href="<?php echo site_url() ?>">Home</a>
							</li>
							<?php
							if($this->session->userdata('useremail'))
							{
								echo '
							<li>
								<a href="' . site_url('bills') . '">Bills</a>
							</li>
							<li>
								<a href="' . site_url('billhistory') . '">Bill History</a>
							</li>
							<li>
								<a href="' . site_url('vendors') . '">Vendors</a>
							</li>
							<li>
								<a href="' . site_url('editvendors') . '">Edit Vendors</a>
							</li>
							<li class="dropdown">
								<a href="#" class="dropdown-toggle" data-toggle="dropdown">
									Account
									<b class="caret"></b>
								</a>
								<ul class="dropdown-menu">
									<li><a href="' . site_url('userprofile') . '">Edit Profile</a></li>
									<li><a href="' . site_url('paymentaccounts') . '">Edit Payment Accounts</a></li>
									<li><a href="' . site_url('notifications') . '">Edit Notifications</a></li>
								</ul>
							</li>
								';
							}
							?>
						</ul>
						<ul class="nav pull-right">
							<?php 
							if($this->session->userdata('useremail'))
							{
								echo '
								<li>
									<a id="logout" href="' . site_url("home/logout") . '">Log off ' . $this->session->userdata('useremail') . '</a>
								</li>
								';
							}
							else
							{
								echo '
								<li>
									<a id="login" rel="popover" data-content="<form name=\'input\' action=\'' . site_url("home/login") . '\' method=\'post\'><label for=\'username\'>Login: </label><input type=\'text\' name=\'username\' /><label for=\'password\'>Password: </label><input type=\'password\' name=\'password\' /><input type=\'submit\' value=\'Login\' /><input type=\'button\' class=\'recover-password-btn\' value=\'Recover Password\'></form>">
										<i class="icon-user icon-white"></i>
										Login
									</a>
								</li>
								';
							}
							?>
						</ul>
					</div>
				</div>
			</div>
		</div>